import request from '@/utils/request'

// 查询业绩考核-个人填报-负面清单列表
export function listKpiFillingNegativeList(query) {
  return request({
    url: '/teacher/kpiFillingNegativeList/list',
    method: 'get',
    params: query
  })
}

// 查询业绩考核-个人填报-负面清单详细
export function getKpiFillingNegativeList(id) {
  return request({
    url: '/teacher/kpiFillingNegativeList/' + id,
    method: 'get'
  })
}

// 新增业绩考核-个人填报-负面清单
export function addKpiFillingNegativeList(data) {
  return request({
    url: '/teacher/kpiFillingNegativeList/add',
    method: 'post',
    data: data
  })
}

// 修改业绩考核-个人填报-负面清单
export function updateKpiFillingNegativeList(data) {
  return request({
    url: '/teacher/kpiFillingNegativeList/update',
    method: 'post',
    data: data
  })
}

// 删除业绩考核-个人填报-负面清单
export function delKpiFillingNegativeList(id) {
  return request({
    url: '/teacher/kpiFillingNegativeList/' + id,
    method: 'post'
  })
}
